package com.apanal.qlife.advice.dao;

import org.apache.ibatis.annotations.Param;

import com.apanal.qlife.advice.model.Advice;
import com.apanal.qlife.advice.model.AdviceOrgAreaRel;

public interface AdviceOrgAreaRelMapper {
	int deleteByPrimaryKey(Long relId);

	int insert(AdviceOrgAreaRel record);

	int insertSelective(AdviceOrgAreaRel record);

	AdviceOrgAreaRel selectByPrimaryKey(Integer relId);

	int updateByPrimaryKeySelective(AdviceOrgAreaRel record);

	int updateByPrimaryKey(AdviceOrgAreaRel record);

	int deletCurrentOrel(@Param(value = "e")Advice advice);

	int deleteByadvId(Long advId);
}